package blt.app_core.api.invoce;

import blt.app_core.api.base.IBaseApi;

/**
 * Created by xgp on 2017/7/4.
 */

public interface InvoiceApi extends IBaseApi {


    String onApplySuccess="onApplySuccess";

    /**
     * 申请发票
     * 如果是电子发票，最后３个参数可为空
     */
    void applyInvoice(String travelIds, String type, String company, String billContent,
                      int amount, String specification, String email, String contactUser,
                      String contactPhone, String detailAddress);

    void modifyInvoice(String travelIds, String type,
                       String company, String billContent,
                       int amount, String specification, String email, String contactUser,
                       String contactPhone, String detailAddress);

    /**
     * 发票信息
     */
    void getInvoiceInfo(int page, int size);
    String onInvoiceList="onInvoiceList";

    /**
     * 发票详情
     */

    void getInvoiceDetail(int id);
    String onInvoiceDetail="onInvoiceDetail";

}
